package cn.edu.ecut.threads;

public class FirstThread extends Thread {

	public FirstThread(String threadName) {
		super(threadName);
	}

	@Override
	public void run() {
		
		for (int i = 0; i < 6 ; i++) {
			System.out.println( Thread.currentThread() + " : " + i );
			try {
				Thread.sleep( 1000 );
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
		}
		
	}

}
